
{% set lang = app.request.getLocale() %}

{% if lang == 'en' %}
  {% do script(['libs/vue.js','libs/item-bank/lib/itemBank.umd.min.js', 'libs/item-bank/lib/locale/en-US.js', 'app/js/answer-engine/assessment-result/index.js']) %}
{% else %}
  {% do script(['libs/vue.js','libs/item-bank/lib/itemBank.umd.min.js','app/js/answer-engine/assessment-result/index.js']) %}
{% endif %}

{% include 'answer-engine/common.html.twig' %}
{% include 'attachment-upload/upload-data.html.twig' %}
<input type="hidden" name="assessment" value='{{ assessment|json_encode }}'>
<input type="hidden" name="answer_record" value='{{ answerRecord|json_encode }}'>
<input type="hidden" name="answer_scene" value='{{ answerScene|json_encode }}'>
<input type="hidden" name="answer_report" value='{{ answerReport|json_encode }}'>
